package com.brillilab.domain.po.lab;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;
import java.util.Date;

/**
 * <p>
 * 实验室申请拒绝记录
 * </p>
 *
 * @author zlb
 * @since 2019-07-12
 */
@TableName("lab_apply_reject_record")
public class LabApplyRejectRecord extends Model<LabApplyRejectRecord> {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 申请Id
     */
    @TableField("apply_id")
    private Long applyId;
    /**
     * 审核信息
     */
    @TableField("audit_info")
    private String auditInfo;
    /**
     * 申请时间
     */
    @TableField("apply_time")
    private Date applyTime;
    /**
     * 创建时间
     */
    @TableField("create_time")
    private Date createTime;

    /**
     * 审核人Id
     */
    private Integer operatorId;
    /**
     * 审核人姓名
     */
    private String operatorName;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getApplyId() {
        return applyId;
    }

    public void setApplyId(Long applyId) {
        this.applyId = applyId;
    }

    public String getAuditInfo() {
        return auditInfo;
    }

    public void setAuditInfo(String auditInfo) {
        this.auditInfo = auditInfo;
    }

    public Date getApplyTime() {
        return applyTime;
    }

    public void setApplyTime(Date applyTime) {
        this.applyTime = applyTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(Integer operatorId) {
        this.operatorId = operatorId;
    }

    public String getOperatorName() {
        return operatorName;
    }

    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "LabApplyRejectRecord{" +
                "id=" + id +
                ", applyId=" + applyId +
                ", auditInfo='" + auditInfo + '\'' +
                ", applyTime=" + applyTime +
                ", createTime=" + createTime +
                ", operatorId=" + operatorId +
                ", operatorName='" + operatorName + '\'' +
                '}';
    }
}
